<?php
/*
	[BuyPg] (C) 2010-2011 Buypg
	$Id: ShoppingNewsModel.class.php 2012-03-29 22:25:28 wufujun
*/

class ShoppingNewsModel extends CommonModel{
	//自动验证
	protected $_validate = array(
		array('title','require','标题不能为空',0),
		array('authorid','require','作者ID不能为空',0),
		array('author','require','作者不能为空',0),
		array('message','require','内容不能为空',0),
	);
	
}
?>
